home *** CD-ROM | disk | FTP | other *** search
/ Resource for Source: C/C++ / Resource for Source - C-C++.iso / misc_src / link2msg / link2msg.txt < prev   
Encoding:
Text File  |  1995-11-01  |  3.7 KB  |  107 lines

  1.   LINK2MSG ∙ Tlink output filter to Borland C IDE
  2.   Copyright (c) 1993 by Dale Nurden - Released to the public domain
  3.   -----------------------------------------------------------------------
  4.  
  5.   LINK2MSG is an output filter for Borland International's Turbo Linker,
  6.   which filters all output messages into the message box inside the IDE.
  7.   It has been tested with Tlink version 3.01, with the Borland C++ 3.1
  8.   IDE, but there is no reason for it not to work in Borland's Pascal IDE,
  9.   and with other versions of Tlink. This documentation deals only with the
  10.   C IDE.
  11.  
  12.   LINK2MSG is a modification of TASM2MSG, kindly facilitated by Borland's
  13.   enclosing of the source in the Borland C Compiler package. I have
  14.   included my modified source in this package so you too can make
  15.   modifications.
  16.  
  17.  
  18.   INSTALLATION
  19.   ~~~~~~~~~~~~
  20.   All that is required is that you put LINK2MSG.EXE into the same place
  21.   you have all your other filters (such as TASM2MSG and GREP2MSG), and
  22.   then insert the appropriate command in the Transfer option in the IDE.
  23.   The usual place for the filter programs is the C:\BORLANDC\BIN
  24.   directory.
  25.  
  26.   The adjustment you need to make to the transfer option is to add the
  27.   following command to the "Command Line" option:
  28.  
  29.           $CAP MSG(LINK2MSG)
  30.  
  31.  
  32.   SIMPLE ASSEMBLING (How I do it)
  33.   ~~~~~~~~~~~~~~~~~
  34.   Borland designed their C IDE nicely enough to allow one to easily use
  35.   it for editing Assembly programs as well as the normal C programs. I
  36.   have configured my IDE to give me the following:
  37.  
  38.   Shift-F5 Saves the current file, then transfers it to the Turbo
  39.            Assembler.
  40.   Shift-F6 Transfers the .OBJ file associated with the current file to
  41.            Tlink.
  42.  
  43.   In both cases, because I have message filters, any messages generated by
  44.   TASM or Tlink will appear in the Message Box in the IDE. The TASM filter
  45.   comes with the Compiler, and this program (LINK2MSG) is for Tlink, since
  46.   no such filter is otherwise provided.
  47.  
  48.   To set up such a system as I have described above, you need to add TASM
  49.   to the Transfer list (if it doesn't already exist), and then add Tlink.
  50.   Once you've added these devices, you can then edit the information
  51.   specific to each device. My options are as follows, but your's may
  52.   differ depending on how you like things. I'm not going to explain
  53.   everything because most of what you need is available in the online
  54.   help.
  55.  
  56.  
  57.   TASM:
  58.  
  59.   Program Title: Turbo Assembler
  60.    Program Path: TASM
  61.    Command Line: /ML /ZN $TASM
  62.         Hot Key: Shift F5
  63.      Translator: On
  64.  
  65.   TLINK:
  66.  
  67.   Program Title: Turbo Linker
  68.    Program Path: TLINK
  69.    Command Line: $OUTNAME$NAME($EDNAME) $CAP MSG(LINK2MSG) /V /X /T
  70.         Hot Key: Shift F6
  71.      Translator: Off
  72.  
  73.   With this arrangement, I can edit a program, then Shift-F5 to save and
  74.   assemble it, and Shift-F6 to link it. I can then do a DOS shell to run
  75.   it.
  76.  
  77.  
  78.   DISCLAIMER
  79.   ~~~~~~~~~~
  80.   This program is provided as is. I will not accept responsibility for
  81.   damage, financial, physical or otherwise, as a result of the use or
  82.   misuse of this program. You use it at your own risk.
  83.  
  84.  
  85.   CONTACTING ME
  86.   ~~~~~~~~~~~~~
  87.   If you feel the urge to contact me for some reason, here's how to do it:
  88.  
  89.   Email: dale.nurden@datavert.co.za
  90.  
  91.   BBS: The Igloo BBS
  92.        (+2731) 7643377 (international)
  93.        (031) 7643377   (local)
  94.        Leave mail for "Dale Nurden"
  95.  
  96.   BBS: Connectix
  97.        (+2731) 2669992 (international)
  98.        (031) 2669992   (local)
  99.        Leave mail or telegram for "Tech"
  100.  
  101.   Snailmail:      Dale Nurden
  102.                   14 Willow Crescent
  103.                   Pinetown
  104.                   3610
  105.                   South Africa
  106.  
  107.